home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 May / Software of the Month Club 1996 May.iso / mac / ISO9660 / ZIPFILES / DRGTXT11.ZIP / DT11.003 (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1996-02-28  |  39.9 KB  |  1,065 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Getting Started ΓòÉΓòÉΓòÉ
  3.  
  4. DragText's basic features add drag-and-drop text features to many commonly used 
  5. windows:  entryfields, listboxes, etc.  With DragText, you can copy or move 
  6. text between these windows using drag-and-drop, delete text by dragging it to 
  7. the Shredder, and enter a filename by dropping the file's icon into a window. 
  8. The basic features are offered without charge and require no registration. 
  9.  
  10. DragText's extended features provide seamless integration of text with files, 
  11. directories, and WebExplorer Url objects.  Drag text to a Workplace folder to 
  12. create a file whose title is derived from the text;  drop this DragText file on 
  13. any supported window to recover the text.  You can drop a file from any source 
  14. on a multiline entryfield to insert its contents. 
  15.  
  16. If the dragged text is a URL, DragText will create a WebExplorer Url object 
  17. whose title is based on the URL.  These objects can be dropped on WebEx or on 
  18. any supported window to insert the URL. 
  19.  
  20. Dropping a Workplace folder on a multiline entryfield will insert a formatted 
  21. listing of the files.  The formatting is completely configurable, as are the 
  22. criteria for selecting files to be included. You can even use this facility to 
  23. write simple batch files. 
  24.  
  25. The extended features are offered as shareware and require registration within 
  26. 6 weeks for continued use. 
  27.  
  28. DragText's features work with many commonly used applications, such as the 
  29. System Editor (e.exe) and most programs in the Internet Access Kit. It is 
  30. designed to add these features only to windows which lack them. It should never 
  31. replace or interfere with the drag-and-drop support provided by your 
  32. applications. 
  33.  
  34. Because its features are added-on, not built-in, it may not work for every 
  35. possible window and conflicts may arise between DragText and some programs. If 
  36. a conflict occurs, DragText can be partially or totally disabled for that 
  37. program using the Disable page in the Options Notebook. 
  38.  
  39. Installation / Removal 
  40. Running DragText 
  41. Using DragText 
  42. Options Notebook 
  43. Product Information 
  44.  
  45.  
  46. ΓòÉΓòÉΓòÉ 1.1. Installation / Removal ΓòÉΓòÉΓòÉ
  47.  
  48. Installation 
  49. The installation program (DTSetup.exe) will: 
  50.  
  51.    - copy DragText's files to the directory of your choice 
  52.    - create a program object for DragText.exe and put it (or a shadow) in your 
  53.      Startup Folder and/or on the Desktop 
  54.    - offer you a choice of two methods for giving DragText files their own 
  55.      icon: either a Workplace class (preferred) or a program object for your 
  56.      editor 
  57.    - insert several entries in os2.ini to disable DragText for programs known 
  58.      to be incompatible, and 
  59.    - display some information specific to your system. 
  60.  
  61. Removal 
  62. To remove DragText from your system, you can either: 
  63.  
  64.    - run DTSetup and choose "Uninstall" to partially or completely remove it, 
  65.      or 
  66.    - simply remove the program object from your Startup Folder to keep it from 
  67.      running. 
  68.  
  69. In either case, you will have to restart your system to remove it from memory 
  70. if it was previously loaded. 
  71.  
  72. Running DragText 
  73. Using DragText 
  74. Options Notebook 
  75. Product Information 
  76.  
  77.  
  78. ΓòÉΓòÉΓòÉ 1.2. Running DragText ΓòÉΓòÉΓòÉ
  79.  
  80. The first time DragText.exe is run during a session, it loads itself into 
  81. memory, displays a copyright message for 3 seconds, and then terminates. 
  82. DrgTxt11.dll, which implements the drag-and-drop features, remains resident for 
  83. the rest of the session.  You will not see DragText in any list of windows or 
  84. tasks. 
  85.  
  86. All supported windows created AFTER DragText.exe is run will provide 
  87. drag-and-drop; those created before will not (this is the primary reason for 
  88. putting DragText in your Startup Folder). 
  89.  
  90. Running DragText again will bring up the Options Notebook which has pages that 
  91. let you: 
  92.  
  93.    - set Options such as the default drag action 
  94.    - configure the settings for Files , Directories, and Urls 
  95.    - Disable DragText for particular programs 
  96.    - provide Info about supported windows and the icons and pointers DragText 
  97.      uses 
  98.    - get DLL info such as usage and errors, and 
  99.    - review Product Information and enter your registration number 
  100.  
  101. Installation / Removal 
  102. Using DragText 
  103. Options Notebook 
  104.  
  105.  
  106. ΓòÉΓòÉΓòÉ 1.3. Frequently Asked Questions ΓòÉΓòÉΓòÉ
  107.  
  108.  1. Q:  Why doesn't DragText show up on my window list or task list? 
  109.  
  110.     A:  DragText is NOT a task, process or window, so it won't appear in these 
  111.     lists.  Once you load it into memory (by running DragText.Exe), it stays 
  112.     there until you reboot.  (If you use Pstat or Watchcat, you will see 
  113.     DrgTxt11.Dll is in the list of dll's that have been loaded.) 
  114.  
  115.  2. Q:  I completely disabled DragText for program X, but I can still drop text 
  116.     into program X's window.  Why doesn't Disable work? 
  117.  
  118.     A:  You can only disable DragText for windows where DragText controls drag 
  119.     and drop.  You can tell when it is in control because the mouse pointer 
  120.     will include the letters "DT".  If you've enabled DragText's file-creation 
  121.     feature, you cannot prevent other programs from reading files it creates. 
  122.     In this case, program X is in control and will let you transfer text using 
  123.     a DragText file. 
  124.  
  125.  3. Q:  I set up my mouse so the left button is the "drag button", like in 
  126.     Windows.  How come I can't drag any text? 
  127.  
  128.     A:  All the windows that DragText supports use the left button to move the 
  129.     cursor and select text.  These functions completely override any drag 
  130.     function assigned to this mouse button.  IBM would have to rewrite the 
  131.     software for these windows to change this.  You can still use DragText to 
  132.     insert a file's name or contents into a window. 
  133.  
  134.  4. Q:  I dropped text on the Desktop and created a file.  Later, when I 
  135.     dropped this file into my editor, the editor crashed.  What happened? 
  136.  
  137.     A:  The file's name was longer than your editor could handle.  On an HPFS 
  138.     disk, a file's real name can be up to 255 characters;  the DragText default 
  139.     is 32.  You may want to shorten the names assigned to new DragText files. 
  140.     On the Files page of the  Options notebook, change the number of lines 
  141.     and/or the number of characters per line.  (This shouldn't happen on a FAT 
  142.     disk because the system shortens real names to 8 characters.) 
  143.  
  144.  5. Q:  Why doesn't DragText work for one particular window in my program when 
  145.     it works for all the others. 
  146.  
  147.     A:  There are at least three possible reasons: 
  148.  
  149.       - your program already supports drag and drop for this window;  since 
  150.         drag and drop isn't a visible feature, you may be unaware of it; 
  151.       - the program may have installed some sort of special handling for this 
  152.         window that completely bypasses DragText;  an example of this is the 
  153.         Point Size combobox in the standard OS/2 Font dialog; 
  154.       - the program may have created a new type of window based on an existing 
  155.         type;  the new type looks and acts very much like the old type but has 
  156.         a different name, so DragText doesn't recognize it. 
  157.  
  158.  
  159. ΓòÉΓòÉΓòÉ 2. Using DragText ΓòÉΓòÉΓòÉ
  160.  
  161. When all features are enabled, DragText lets you use drag and drop to 
  162.  
  163.    - copy, move, or delete text 
  164.    - create files and WebExplorer Url objects 
  165.    - insert the contents of files and Url objects in text windows 
  166.    - create a formatted listing of a folder's directory 
  167.  
  168. To help you identify the results from a drag and drop operation, DragText uses 
  169. up to six icons and three pointers.  These results can be changed by using 
  170. modifier keys or by setting DragText's default actions to suit your needs.  All 
  171. of this is explained in detail in the following sections. 
  172.  
  173.    - Text, Urls, Files, and Folders 
  174.  
  175.    - Icons and Pointers 
  176.  
  177.    - Modifier Keys and Defaults 
  178.  
  179.    - Supported Windows 
  180.  
  181. Options Overview 
  182. Files Overview 
  183. Getting Started 
  184. Running DragText 
  185.  
  186.  
  187. ΓòÉΓòÉΓòÉ 2.1. Text, Urls, Files, and Folders ΓòÉΓòÉΓòÉ
  188.  
  189. Dragging Text 
  190. To drag text out of any supported window , highlight it, then begin dragging 
  191. from anywhere within the window. (Note: for single-line Entryfields begin 
  192. dragging without any highlighting to drag the entire contents of the field.) 
  193.  
  194. As you move the pointer over different windows, the icon and pointer will 
  195. change to indicate what will happen if you drop the text at that point. Over a 
  196. DragText-enabled window, the text will be inserted into editable fields and 
  197. matching text will be selected in listboxes and readonly spinbuttons (see 
  198. restrictions below). You can delete text by dragging it to the Shredder. 
  199.  
  200. When the Extended features are enabled, dropping text into a Workplace folder 
  201. will create a file, or a WebExplorer Url object if the text was a Url.  You may 
  202. also be able to insert text into a window that is not DragText-enabled if the 
  203. program permits you to drop a file on it. 
  204.  
  205. Dragging Files and Folders 
  206. With the Basic features, you can drop a file or folder into any supported 
  207. window to insert its fully-qualified name.  Using the Extended features, you 
  208. can drop a DragText-created file into any window to insert its text.  You can 
  209. also insert the contents of any file into a multiline entryfield by pressing 
  210. Alt before you drop it.  Press Alt before you drop a folder to insert a 
  211. formatted listing of its directory.  The formatting is controlled by the 
  212. settings on the Directory Options page (Files->Dirs) of the Options notebook. 
  213.  
  214. Restrictions:  While you can copy text from any supported window , you can only 
  215. move or delete text from editable windows (i.e. those which aren't read-only or 
  216. listboxes).  Similarly, you can only move text into editable windows.  To 
  217. comply with CUA standards, you cannot copy text onto itself;  you can override 
  218. this by pressing Ctrl before you drop. Also, you can only drop one file icon 
  219. into a window at a time. 
  220.  
  221. Using DragText 
  222. Icons and Pointers 
  223. Modifier Keys and Defaults 
  224.  
  225.  
  226. ΓòÉΓòÉΓòÉ 2.2. Icons and Pointers ΓòÉΓòÉΓòÉ
  227.  
  228. DragText changes icons as you drag to show what will happen if you make a drop. 
  229. It uses mouse pointers to indicate whether DragText itself controls what will 
  230. happen. 
  231.  
  232. Pointers 
  233. Whenever you drag text or a file over a window that DragText controls, the 
  234. mouse pointer will always include the letters 'DT', and DragText will decide 
  235. whether a drop is permitted.  If the pointer does not say 'DT', the program 
  236. that owns the window is in control and it determines whether a drop is 
  237. acceptable.  In this case, there is nothing DragText can do to prevent the 
  238. program from accepting a drop. 
  239.  
  240. DragText uses three pointers: 
  241.  
  242.           Insert - text will be inserted into editable fields; text will be 
  243.           matched and selected in listboxes and spinbuttons 
  244.           Replace - used only for single-line entryfields to indicate that 
  245.           dropped text will completely replace the current contents.  Press and 
  246.           release the Insert key in a normal fashion to toggle between insert 
  247.           and replace. 
  248.           Illegal - DragText will not permit a drop 
  249.  
  250. Icons 
  251. With all Extended Features enabled, DragText switches among six different 
  252. icons. If only the Basic Features are enabled, it uses two.  This feature is 
  253. disabled if you have one of the original versions of OS/2 Warp because of a bug 
  254. in them (see Change Icons for more information). 
  255.  
  256. DragText uses these icons: 
  257.  
  258.           Text - text will be inserted into editable fields; matching text will 
  259.           be selected in listboxes and readonly spinbuttons [Basic and Extended 
  260.           features]. This icon is also used when you drag a DragText-created 
  261.           file over any DragText-enabled window [Extended features]. 
  262.  
  263.           Note:  if Change Icons is disabled, this is the only icon that will 
  264.           be used. 
  265.           File - this icon never appears over a DragText-enabled window.  Over 
  266.           the Workplace Shell, a drop will create a file; elsewhere, text will 
  267.           be transfered to the target program via a file [Extended features]. 
  268.  
  269.           WebExplorer Url (not shown here) - if the text you are dragging is a 
  270.           URL, this icon appears after you leave a DragText window.  Over the 
  271.           Workplace Shell, a drop will create a WebExplorer Url object; 
  272.           elsewhere, text will be transfered to the target program via a file 
  273.           [Extended features]. 
  274.           File Name - when you drag a file or folder over a DragText window, 
  275.           this icon replaces the original to show that the file or folder's 
  276.           fully qualified name will be inserted [Basic and Extended features]. 
  277.           File Contents - appears only when dragging a file over a multiline 
  278.           entryfield (you may have to press the Alt key).  The file's contents 
  279.           will be inserted [Extended features]. 
  280.           Folder Contents - appears only when dragging a folder over a 
  281.           multiline entryfield (you must press the Alt key).  A listing of the 
  282.           folder's contents will be inserted [Extended features]. 
  283.  
  284. Using DragText 
  285. Text, Urls, Files, and Folders 
  286. Modifier Keys and Defaults 
  287.  
  288.  
  289. ΓòÉΓòÉΓòÉ 2.3. Modifier Keys and Defaults ΓòÉΓòÉΓòÉ
  290.  
  291. Modifier Keys 
  292. DragText uses standard modifier keys and adds two others to override the 
  293. default action.  Except for the Insert key, press and hold them before you 
  294. drop, NOT when you begin a drag. For Insert, press and release immediately 
  295. while over an entryfield;  do NOT hold it down. 
  296.  
  297. Ctrl 
  298.  
  299.    - copy text and DragText files 
  300.    - copy text onto itself 
  301.    - for files, insert the file's formatted directory entry rather than its 
  302.      fully-qualified name (this usage may change in future versions) 
  303.  
  304. Shift 
  305.  
  306.    - move text 
  307.    - copy a DragText file then delete it 
  308.    - you can never move folders or files from other sources 
  309.  
  310. Alt 
  311.  
  312.    - over multiline entryfields only, insert a file's contents 
  313.    - over multiline entryfields only, insert a folder's directory listing 
  314.  
  315. Insert 
  316.  
  317.    - over a single-line entryfield, toggle between inserting the dropped text 
  318.      into the current contents, and replacing the current contents with the 
  319.      dropped text. 
  320.  
  321. Defaults 
  322. In all cases, the default operation is Copy.  You can change these defaults: 
  323.  
  324. On the Options page 
  325.  
  326.    - copy/move text within a window 
  327.    - copy/move text between windows 
  328.    - insert/replace text in entryfields 
  329.  
  330. On the Files page: 
  331.  
  332.    - copy/move text from a window into a DragText file 
  333.    - copy/move a DragText file into a window 
  334.    - insert a file's name/contents into a multiline entryfield 
  335.  
  336. Using DragText 
  337. Text, Urls, Files, and Folders 
  338. Icons and Pointers 
  339. Options Overview 
  340. File Overview 
  341.  
  342.  
  343. ΓòÉΓòÉΓòÉ 2.4. Supported Windows ΓòÉΓòÉΓòÉ
  344.  
  345. DragText works with six commonly-used types of windows found in most every 
  346. application.  They may be used as the app's main window, or only in its dialogs 
  347. and notebooks.  An example of each window appears on the Info page in the 
  348. Options Notebook 
  349.  
  350. Entryfield 
  351. usually contains a single piece of information, such as a filename. 
  352.  
  353. o to drag the entire contents, don't highlight any text, just drag 
  354. o to replace the entire contents, quickly press and release the Insert key 
  355.   while over the field.  The mouse pointer will change to show that you're in 
  356.   Replace mode. 
  357.  
  358. Multi-line Entryfield 
  359. often used as the main text window in simpler apps such as the System Editor. 
  360.  
  361. o insert the contents of any file by pressing the Alt key before you drop the 
  362.   file's icon. 
  363. o enter a formatted listing for a directory by pressing the Alt key before you 
  364.   drop the folder's icon (see Directory Listing Options for details). 
  365.  
  366. Listbox 
  367. dropping text will cause DragText to search for a matching item. If found, it 
  368. will be selected (highlighted); if not, you'll hear a beep. DragText will never 
  369. insert text into a listbox. 
  370.  
  371. Combobox 
  372. combines an entryfield with a listbox.  DragText handles each part as if it 
  373. were a stand-alone window, with one exception. If the entryfield is read-only, 
  374. dropping text on it will cause a search of the listbox for a matching entry 
  375.  
  376. Spin Button 
  377. combines an entryfield with a button.  If the entryfield part can be edited, it 
  378. will be handled like a stand-alone entryfield.  If it is read-only, DragText 
  379. will search for a matching item. If found, it will be displayed; otherwise, 
  380. you'll hear a beep. 
  381.  
  382. Static Text 
  383. used to display text that can't be edited, such as labels and error messages. 
  384. You can drag text from static text windows but you can never drop anything on 
  385. them. 
  386.  
  387. Note:  You should be aware that some programs create their own window-types 
  388. that closely resemble the standard ones.  DragText does not support these 
  389. look-alikes. 
  390.  
  391. Getting Started 
  392. Using DragText 
  393. Options Notebook 
  394.  
  395.  
  396. ΓòÉΓòÉΓòÉ 3. Options Notebook ΓòÉΓòÉΓòÉ
  397.  
  398. Whenever you need to change DragText's defaults or get help on using it, run 
  399. DragText to open its Options Notebook.  There are four major sections, each 
  400. with a tab at the top of the notebook: 
  401.  
  402.  Options     set the default actions for DragText's Basic features. 
  403.  
  404.  Files       set the default actions for DragText's extended features. 
  405.  
  406.  Disable     restrict DragText's operation for any programs you specify. 
  407.  
  408.  Info        get quick help, review error messages, enter your registration 
  409.  All settings take effect as soon as you press the "Apply" button, change pages 
  410. in the notebook, or close it. 
  411.  
  412.  
  413. ΓòÉΓòÉΓòÉ 3.1. Options ΓòÉΓòÉΓòÉ
  414.  
  415. The Options page lets you set the default actions for DragText's Basic 
  416. features. All settings take effect as soon as you press the "Apply" button, 
  417. change pages in the notebook, or close it. 
  418.  
  419. Drag Defaults 
  420. Miscellaneous Options 
  421. Reset Notebook 
  422.  
  423.  
  424. ΓòÉΓòÉΓòÉ 3.1.1. Drag Defaults ΓòÉΓòÉΓòÉ
  425.  
  426. Between Windows 
  427. when dragging text from one window to another, this determines whether the 
  428. default action will be to copy or move the text 
  429.  
  430. Within a Window 
  431. when dragging text from one part of a window to another, this determines 
  432. whether the the text will be copied or moved 
  433.  
  434. These defaults can be overridden by pressing the Ctrl key (to copy) or the 
  435. Shift key (to move). 
  436.  
  437. Note:  In many situations, a move operation is not possible.  If the default is 
  438. set to move, the text will be copied instead. If you explicitly request a move 
  439. by pressing the Shift key, the operation will be refused. 
  440.  
  441. Drops into entryfields 
  442. When you drop text from another window into an entryfield (or the entryfield 
  443. portion of a combobox or spin button), you can choose to have it: 
  444.  
  445.    - inserted into the existing text (the initial setting) 
  446.    - completely replace the existing text (the recommended setting) 
  447.  
  448. When set to insert, DragText's 'I-beam' mouse pointer will be used.  When set 
  449. to replace, the mouse pointer will change to an I-beam followed by three X's. 
  450. (See Icons and Pointers ) In use, press and immediately release the Insert key 
  451. while over an entryfield to toggle between insert and replace.  You must be 
  452. over a DragText-enabled window when you press Insert to avoid changing the 
  453. system's global insert state. 
  454.  
  455. Options Overview 
  456. Miscellaneous Options 
  457. Reset Notebook 
  458.  
  459.  
  460. ΓòÉΓòÉΓòÉ 3.1.2. Miscellaneous Options ΓòÉΓòÉΓòÉ
  461.  
  462. Error notification 
  463. This determines whether DragText notifies you when it encounters an error. When 
  464. set to Beep, DragText will make a distinctive two-note beep. This is the 
  465. initial and recommended setting.  When set to None, DragText will not notify 
  466. you. 
  467.  
  468. In any case, the most recent error message can be viewed on the DLL Info page. 
  469.  
  470. Change Icons 
  471. When you drag text or files over a DragText window, DragText can change the 
  472. dragged icon to give you a better idea of what will happen if you drop it. 
  473. Unfortunately, all of the original releases of OS/2 Warp v3.0 have a bug that 
  474. will cause a crash if the source and target windows belong to different 
  475. applications. This was corrected by Warp Fixpacks 8 and later (Fixpack 17 was 
  476. the latest available, as of February, 1996).  This is also fixed in v3.01. 
  477.  
  478. At startup, DragText examines the "buildlevel" of PMMERGE.DLL to see if this 
  479. fix is installed and then enables or disables this feature accordingly.  The 
  480. results of its findings are displayed here (either auto-detect = yes or 
  481. auto-detect = no). If DragText misidentifies the buildlevel, you can override 
  482. it with this setting.  To identify the buildlevel yourself, enter "ver /r" at 
  483. an OS/2 command prompt.  This feature should be enabled if the buildlevel is 
  484. 8.232 or higher. 
  485.  
  486.    - auto-detect:  DragText will perform the check described above.  This is 
  487.      the default. 
  488.    - yes:  change icons, regardless of the build level. 
  489.    - no:  do not change icons, regardless of the build level. 
  490.  
  491. Cache Icons 
  492. DragText doesn't load an icon until it is needed.  It can then save it for 
  493. later use or it can delete it to free up memory.  Unless you run many programs 
  494. simultaneously and are short of memory, you should probably leave caching 
  495. enabled. 
  496.  
  497.    - yes:  leave icons in memory; this is the default. 
  498.    - no:  delete the icon after use; this will free all icons, including those 
  499.      previously cached. 
  500.  
  501. Options Overview 
  502. Drag Defaults 
  503. Reset Notebook 
  504.  
  505.  
  506. ΓòÉΓòÉΓòÉ 3.1.3. Reset notebook to default size ΓòÉΓòÉΓòÉ
  507.  
  508. Each time you close the Options Notebook, DragText saves its current size, 
  509. position, and display attributes (e.g. the font used for notebook tab text). 
  510. Use this checkbox to restore all of these to their default values the next time 
  511. you run DragText.exe.  This is particularly useful if you change display 
  512. resolutions. 
  513.  
  514. Options Overview 
  515. Drag Defaults 
  516. Miscellaneous Options 
  517.  
  518.  
  519. ΓòÉΓòÉΓòÉ 3.2. Files ΓòÉΓòÉΓòÉ
  520.  
  521. The pages in the Files section of the notebook let you set the default actions 
  522. for DragText's extended features.  All settings take effect as soon as you 
  523. press the "Apply" button, change pages in the notebook, or close it. 
  524.  
  525. File Options 
  526. WebExplorer Url Defaults 
  527. Directory Listing Options 
  528. Compatibility Options (Fixes) 
  529.  
  530.  
  531. ΓòÉΓòÉΓòÉ 3.2.1. File Options ΓòÉΓòÉΓòÉ
  532.  
  533. File and Url Titles 
  534.  
  535. Lines:  the maximum number of lines the title will use when displayed in a 
  536. Workplace folder 
  537.  
  538. Chars:  the maximum number of characters in each line 
  539.  
  540. +/- Chars:  DragText can add or subtract this many characters to a line to 
  541. avoid splitting a word in two 
  542.  
  543. Replace punctuation with:  this character will replace one or more consecutive 
  544. spaces, punctuation, and control characters in file titles (but not in Url 
  545. titles) 
  546.  
  547. DragText Files 
  548. This applies to the files DragText creates.  You can override these settings by 
  549. pressing Shift to move or Ctrl to copy. 
  550.  
  551. Text to File:  when you drop text on the Workplace to create a file, you can 
  552. either copy or move (i.e. delete) the text from the source window 
  553.  
  554. File to Text:  when you drop a DragText file on a supported window, you can 
  555. either copy or delete (i.e. move) the file 
  556.  
  557. Other Files 
  558. These are files DragText did not create.  You can toggle this setting by 
  559. pressing Alt. 
  560.  
  561. Other Files to MLEs:  when you drop a file DragText didn't create on an MLE 
  562. (multi-line entryfield), DragText will insert either the file's complete name 
  563. or the file's contents. If it inserts the contents, DragText will rplace all 
  564. nulls with spaces and remove any trailing end-of-file (Ctrl-Z) character. 
  565.  
  566. Create Files 
  567. Check this box to enable DragText to create files. 
  568.  
  569. Read Files 
  570. Check this box to enable DragText to read files and subdirectories. 
  571.  
  572. Files Overview 
  573. WebExplorer Url Defaults 
  574. Directory Listing Options 
  575. Compatibility Options (Fixes) 
  576.  
  577.  
  578. ΓòÉΓòÉΓòÉ 3.2.2. Directory Listing Options ΓòÉΓòÉΓòÉ
  579.  
  580. If you drop a Workplace folder on a multiline entryfield while pressing Alt, 
  581. DragText will insert a formatted listing of the files in that disk directory. 
  582. This listing will not include non-file objects (such as program objects or 
  583. shadows).  This feature can be used to create simple batch files, as shown in 
  584. Example 2 below. 
  585.  
  586. Include:  like any request for a directory listing, this determines which files 
  587. will be included.  The default is "*"  which includes all files.  You could 
  588. change this to "*.exe" to include only programs, or to "a*" to include only 
  589. files whose names begin with the letter "a". 
  590.  
  591. Flags:  this lets you include or exclude files based on their standard 
  592. attributes: Directory, Read-only, Archived, Hidden, and System.  Plus ("+") 
  593. includes files with that attribute while minus ("-") excludes files with the 
  594. attribute. Equal ("=") requires a file to have the attribute to be included. 
  595. The default value of all pluses includes all files.  Setting the flags to "+D 
  596. -R +A =H +S" would produce a listing of hidden files that weren't also 
  597. read-only 
  598.  
  599. Listing Format:  controls the formatting for each file in the listing.  You can 
  600. enter meta-characters (see below), fixed text, tabs, and carriage returns. 
  601. (Note: you must include a carriage return if you want each entry to appear on a 
  602. separate line.)  The default value is "%#  %d  %t %s %a %f" , followed by a 
  603. carriage return.  If you erase the contents of this field, DragText will fill 
  604. in the default value;  it cannot be left blank. 
  605.  
  606. Heading Format:  produces a heading for your listing.  You may include fixed 
  607. text, control characters, and the meta-characters for the path and file.  The 
  608. file meta-character will be replaced by the search string.  If this field is 
  609. left blank, no heading will be produced. 
  610.  
  611. Meta-Characters 
  612. These represent the various components of a directory listing: 
  613.  
  614. %p        pathname as it appears on the disk with both upper and lowercase 
  615.           letters 
  616. %P        pathname with all letters converted to uppercase 
  617.  
  618. %f        filename as it appears on the disk with both upper and lowercase 
  619.           letters 
  620. %F        filename with all letters converted to uppercase 
  621.  
  622. %n        filename without its extension with both upper and lowercase letters 
  623. %N        filename without its extension with all letters converted to 
  624.           uppercase 
  625.  
  626. %e        filename extension with both upper and lowercase letters 
  627. %E        filename extension with all letters converted to uppercase 
  628.  
  629. %d        file date (same as %D) using your country's standard format 
  630. %D        file date (same as %d) using your country's standard format 
  631.  
  632. %t        file time as HH:MM (plus AM or PM if you use a 12-hour clock) 
  633. %T        file time as HH:MM:SS (plus AM or PM if you use a 12-hour clock) 
  634.  
  635. %s        file size to a maximum of 7 digits;  if the size is 10 million or 
  636.           more, this field will contain 7 asterisks (i.e. "*******") 
  637. %S        file size to a maximum of 10 digits 
  638.  
  639. %a        file attributes (including the directory flag) in lowercase letters 
  640. %A        file attributes (including the directory flag) in uppercase letters 
  641.  
  642. %#        the sequence number of this entry, starting at 1 
  643.  
  644. %%        used to include a percent sign in your fixed text 
  645.  
  646. Note:  the pathname will not include a final backslash unless it is immediately 
  647. followed by the filename 
  648.  
  649. Example 1 - verbose listing 
  650.  
  651. [Heading]  Directory listing for %p
  652. [Listing]  File %F was created on %d at %T
  653.  
  654. [Output]  Directory listing for C:\DragText
  655.       File DRAGTEXT.EXE was created on 12-25-95 at 01:10:00
  656.       File DRAGTEXT.DLL was created on 12-25-95 at 01:10:00
  657.       [etc.]
  658.  
  659. Example 2 - creating a batch file 
  660.  
  661. [Heading]  cd %p
  662. [Listing]  ren %f %F
  663.  
  664. [Output]  cd C:\DragText
  665.       ren DragText.Exe DRAGTEXT.EXE
  666.       ren DragText.Dll DRAGTEXT.DLL
  667.       [etc.]
  668.  
  669. Files Overview 
  670. File Options 
  671. WebExplorer Url Defaults 
  672. Compatibility Options (Fixes) 
  673.  
  674.  
  675. ΓòÉΓòÉΓòÉ 3.2.3. Set WebExplorer Url Defaults ΓòÉΓòÉΓòÉ
  676.  
  677. This feature works even if you do not have IBM's WebExplorer. 
  678.  
  679. Create WebExplorer Urls 
  680. When checked, DragText will create WebExplorer_Url objects if that Workplace 
  681. class is registered.  If it is not registered, DragText will create a file that 
  682. is functionally identical to the object, except for the class-specific settings 
  683. notebook.  Either can be dropped on the WebExplorer to load a Url. If this box 
  684. is not checked, DragText will handle Urls like any other dragged text. 
  685.  
  686. Url Identifiers 
  687. When the beginning of your text matches one of these prefixes, DragText creates 
  688. a Url object.  The default values are "http:// ftp://" .  You can add any 
  689. identifier that WebExplorer supports;  for example, you could add "gopher://". 
  690. Separate each identifier with a space. 
  691.  
  692. DragText can also recognize incomplete Urls and fill in the missing identifier. 
  693. Enter the identifier surrounded by angle brackets ('<' and '>'), followed by 
  694. the letters DragText should try to match. The default values are "<http://>www. 
  695. <ftp://>ftp." .  Notice that each ends with a period:  this should keep 
  696. DragText from misidentifying sentences beginning with these letters. 
  697.  
  698. Title Options 
  699. DragText uses these options, plus its own rules, to format the Url as a title. 
  700. They do not affect the object's contents. 
  701.  
  702. Remove from Hostname:  to provide shorter and more meaningful titles, you can 
  703. have DragText remove unnecessary words from the hostname portion of the Url. 
  704. Each portion of the name, delimited by a dot or a slash, is compared to this 
  705. list;  if it matches, the word is eliminated.  The wildcard characters '*' and 
  706. '?' can be used.  The default values are "www* com net edu org ??" .  Using 
  707. "www*" will remove "www", "www1", "www-os2", etc.  Using "??" will remove all 
  708. two-letter words, such as country identifiers (e.g. "ca" or "de"). 
  709.  
  710. Line break after hostname:  when checked, only the hostname will appear on the 
  711. first line of the title. Any path information will begin on the second line. 
  712. If the hostname is long enough to wrap to line 2, no line break will be added. 
  713.  
  714. Hostname only:  when checked, the Url title will include only the hostname.  No 
  715. path information will appear in the title. 
  716.  
  717. Files Overview 
  718. File Options 
  719. Directory Listing Options 
  720. Compatibility Options (Fixes) 
  721.  
  722.  
  723. ΓòÉΓòÉΓòÉ 3.2.4. Compatibility Options (Fixes) ΓòÉΓòÉΓòÉ
  724.  
  725. For an add-on like DragText to work with a wide range of programs, some 
  726. compromises may have to be made.  These options should be set to meet the needs 
  727. of your most commonly used applications. 
  728.  
  729. Temporary Files 
  730. These settings have NO effect on your ability to create files by dropping text 
  731. on a Workplace folder. DragText's ability to create files lets you insert text 
  732. into programs that otherwise wouldn't accept dragged text.  Sophisticated 
  733. programs like the Enhanced Editor (EPM) understand that they should ask 
  734. DragText to create a file.  Simpler applications don't know how to ask and may 
  735. complain or crash if the file doesn't exist yet.  To avoid this, you can have 
  736. DragText create a file as soon as you begin a drag.  Because DragText uses a 
  737. separate thread to create the file, this shouldn't have a significant impact on 
  738. overall performance. 
  739.  
  740. When drag starts: 
  741.  
  742.    - (no temp file):  this is the default setting and best if your apps will 
  743.      accept dragged text directly. 
  744.    - create a file:  this is the most reliable setting for transferring text 
  745.      via a file.  However, there will be background disk activity whenever you 
  746.      begin a drag. 
  747.    - create a pipe:  this setting, in effect, creates a file in memory. 
  748.      Programs that examine a file's attributes or size before loading may have 
  749.      problems using a pipe. 
  750.  
  751. File/Pipe Name:  the name DragText uses when creating a file or pipe; it is 
  752. reused every time you begin a drag.  The name must conform to the 8.3 naming 
  753. convention.  The default value is "DRAGTEXT.TMP". 
  754.  
  755. File Path:  the disk directory where the temporary file is stored.  The default 
  756. value is the directory where DragText.Exe is stored. 
  757.  
  758. WebExplorer URLs 
  759.  
  760. Drop URLs directly into WebEx:  when checked, you can drag a Url directly from 
  761. a DragText-enabled window and drop it on the WebExplorer to load it.  A 
  762. temporary file will always be created, regardless of the settings described 
  763. above.  You will also be unable to use this file to insert text into a program 
  764. that isn't DragText-enabled. 
  765.  
  766. Note:  The File Path you set for DragText's temporary files must be on the same 
  767. disk as WebExplorer when you use this option. 
  768.  
  769. Files Overview 
  770. File Options 
  771. WebExplorer Url Defaults 
  772. Directory Listing Options 
  773.  
  774.  
  775. ΓòÉΓòÉΓòÉ 3.3. Disable ΓòÉΓòÉΓòÉ
  776.  
  777. The Disable page lets you restrict DragText's operation for any programs you 
  778. specify. 
  779.  
  780. Normally, DragText is enabled for all programs.  However, if it conflicts with 
  781. an application's use of drag-and-drop, you can partially or totally disable 
  782. DragText for that program. 
  783.  
  784. The "Program" section of the dialog contains a list of all applications that 
  785. currently have restrictions. The checkboxes under "Uncheck to Disable" show the 
  786. window types on which DragText operates.  If a box is checked, DragText is 
  787. enabled. 
  788.  
  789. If DragText's extended features are enabled, you can disable them for a 
  790. specific program. Uncheck Drag to disable file and WebExplorer Url creation; 
  791. uncheck Drop to disable reading files, directories, and Url objects. 
  792.  
  793. Important:  you can only disable file operations for DragText-enabled windows. 
  794. These are windows where the mouse pointer changes to one of DragText's unique 
  795. pointers (see Icons and Pointers for details).  You cannot prevent a program 
  796. that accepts dropped files from accepting text rendered as a file or Url 
  797. object.  For example, if you drag a Url from a DragText window, you cannot 
  798. prevent WebExplorer from accepting it because DragText does not control WebEx's 
  799. drag and drop features. 
  800.  
  801. Add a Program to the Restricted List 
  802. Change a Program's Restrictions 
  803. Remove a Program from the List 
  804.  
  805. Notes: 
  806.  
  807. o Restrictions are checked when a program is launched, not during its 
  808.   execution.  To add a restriction, close the application program, add the 
  809.   restriction, then restart the program. 
  810. o Only programs with restrictions are saved.  Programs whose settings match the 
  811.   default (no restrictions) will be dropped from the list and will not appear 
  812.   next time you run DragText.  This is done to enhance DragText's performance. 
  813.  
  814. Conflicts with Other Programs 
  815. Disabling DragText System-wide 
  816. Getting Started 
  817. Using DragText 
  818.  
  819.  
  820. ΓòÉΓòÉΓòÉ 3.3.1. Conflicts with Other Programs ΓòÉΓòÉΓòÉ
  821.  
  822. DragText knows very little about the programs it works with and they know 
  823. absolutely nothing about DragText.  Because of this, conflicts are possible - 
  824. particularly with applications that have their own drag and drop functions. 
  825.  
  826. DragText can usually tell when a program is handling drag and drop and avoids 
  827. getting involved.  When this fails, you may get an error message or unexpected 
  828. results. 
  829.  
  830. To eliminate this problem, use the Disable page to disable DragText partially 
  831. or totally for that program.  It usually isn't necessary to disable DragText 
  832. totally;  in most cases, disabling the particular type of window that is 
  833. causing trouble will suffice.  You may find that disabling only drags or only 
  834. drops for that window will solve the problem. 
  835.  
  836. Restrictions are checked when a program is launched, not during its execution. 
  837. To add a restriction, close the application program, add the restriction, then 
  838. restart the program. 
  839.  
  840. Note:  Most error messages arise from other problems in the system and are not 
  841. directly the result of a conflict between DragText and your application 
  842. program. 
  843.  
  844. Disable Overview 
  845. Running DragText 
  846.  
  847.  
  848. ΓòÉΓòÉΓòÉ 3.3.2. Add a Program to the Restricted List ΓòÉΓòÉΓòÉ
  849.  
  850. Enter the name of the program (or drop its icon into the entryfield).  Path 
  851. information is not needed and will be removed when you add this entry. 
  852.  
  853. To disable drag and/or drop for particular window types, uncheck the 
  854. corresponding boxes.  To disable DragText entirely uncheck "All Windows". 
  855.  
  856. Press the button labeled "Add". 
  857.  
  858. Change a Program's Restrictions 
  859. Remove a Program from the List 
  860.  
  861.  
  862. ΓòÉΓòÉΓòÉ 3.3.3. Change a Program's Restrictions ΓòÉΓòÉΓòÉ
  863.  
  864. Select the program from the list.  The checkboxes will show its current status. 
  865.  
  866. Make any necessary changes. 
  867.  
  868. Your changes will be saved when you select another program from the list, press 
  869. the "Apply" button, change notebook pages, or exit. 
  870.  
  871. Add a Program to the Restricted List 
  872. Remove a Program from the List 
  873.  
  874.  
  875. ΓòÉΓòÉΓòÉ 3.3.4. Remove a Program from the List ΓòÉΓòÉΓòÉ
  876.  
  877. Select the program from the list.  The checkboxes will show its current status. 
  878.  
  879. Press the "Remove" button.  The entry will be deleted immediately. 
  880. -- or -- 
  881. Check all of the checkboxes (i.e. so that there are no restrictions). The entry 
  882. will be deleted when you close the notebook. 
  883.  
  884. Add a Program to the Restricted List 
  885. Change a Program's Restrictions 
  886.  
  887.  
  888. ΓòÉΓòÉΓòÉ 3.3.5. Disabling DragText System-wide ΓòÉΓòÉΓòÉ
  889.  
  890. DragText uses only documented features of OS/2 which should continue to be 
  891. supported in future versions. Still, it is possible that unforeseen changes to 
  892. the operating system will render DragText incompatible with a particular type 
  893. of window.  To retain the bulk of DragText's usefulness, you can disable that 
  894. window type system-wide. 
  895.  
  896. On the Disable page, enter <ALL PROGRAMS> (the angle brackets are required). 
  897. Uncheck both boxes for this window type, then press the "Add" button.  This 
  898. option will be in effect for all newly launched programs;  those which are 
  899. already running will not be affected. 
  900.  
  901. In extraordinary circumstances, you may find it necessary to disable DragText 
  902. for all new windows in all programs.  To do this, follow the instructions 
  903. above, but uncheck both boxes next to "All Windows".  In this case, DragText 
  904. will be disabled for all new windows, including those created by programs that 
  905. are already running.  Windows that already exist will not be affected. 
  906.  
  907.  
  908. ΓòÉΓòÉΓòÉ 3.4. Info ΓòÉΓòÉΓòÉ
  909.  
  910.  Info     practice your drag and drop using examples of each supported window 
  911.  
  912.  Icons    view each of the icons and pointers used as you drag text and files 
  913.  
  914.  DLL      review usage statistics and error messages 
  915.  
  916.  DT       enter your registration number, review product info 
  917.  
  918.  
  919. ΓòÉΓòÉΓòÉ 3.4.1. DLL Info ΓòÉΓòÉΓòÉ
  920.  
  921. The DLL Info page provides usage and error statistics for DragText.dll. 
  922.  
  923. Usage 
  924. The usage section shows the number of processes (programs) that have loaded 
  925. DragText.dll and the number currently using it. The latter figure will usually 
  926. be at least 3 (two instances of pmshell.exe and DragText.exe itself). 
  927.  
  928. Errors 
  929. This section displays the total number of errors encountered during this 
  930. session, the ID number of the last process to have an error, and the message 
  931. associated with that error. 
  932.  
  933. When an error occurs, DragText.dll will notify you by whichever method you 
  934. choose on the Options page.  You can restart DragText.exe and refer to this 
  935. page to review the error message. 
  936.  
  937. Note:  These messages are intended for debugging and diagnostic purposes. 
  938. Except for identifying conflicts with other programs, they are of little use to 
  939. the user.  All errors arise from flaws in DragText, other applications, or the 
  940. operating system. Users cannot "cause" errors. 
  941.  
  942. Conflicts with Other Programs 
  943. Options Overview 
  944. Getting Started 
  945.  
  946.  
  947. ΓòÉΓòÉΓòÉ 3.4.2. Registration Information ΓòÉΓòÉΓòÉ
  948.  
  949. After you register DragText uou will receive a registration number.  Enter it 
  950. on the last page (Info->DT) of the Options Notebook.  Enter your name exactly 
  951. as it appears on your registration notice.  Close the notebook, then reopen it 
  952. to reset your options. 
  953.  
  954. Product Information 
  955. Registering DragText 
  956. License Agreement 
  957. Options Notebook 
  958.  
  959.  
  960. ΓòÉΓòÉΓòÉ 4. About DragText ΓòÉΓòÉΓòÉ
  961.  
  962.                             - DragText version 1.1 -
  963.                        The Drag and Drop Enabler for OS/2*
  964.  
  965.                        (C) Copyright R L Walsh 1994, 1995
  966.                               All rights reserved.
  967.  
  968.                                     write to
  969.                                rlwalsh@packet.net
  970.                                     -- or --
  971.                                    Rich Walsh
  972.                                 315 S. Barbour St
  973.                           Beverly Hills, Florida 34465
  974.                                      U.S.A.
  975.  
  976.                               Registering DragText
  977.                                 License Agreement
  978.  
  979. * OS/2 is a registered trademark of International Business Machines Corp. 
  980.  
  981.  
  982. ΓòÉΓòÉΓòÉ 4.1. Registration ΓòÉΓòÉΓòÉ
  983.  
  984. To continue using DragText's Extended features after your 6-week free trial 
  985. ends, register it directly with the author ($15) or through BMT Micro ($18). 
  986. You will receive a registration number to enter on the last page of the Options 
  987. Notebook. 
  988.  
  989. Direct  - $15 (US) 
  990. Mail a check or money order drawn in *US Dollars* to: 
  991.  
  992.    Rich Walsh 
  993.    315 S. Barbour St. 
  994.    Beverly Hills, Florida  34465 
  995.    U.S.A. 
  996.  
  997. Include your full name, mailing address, and email address (if available). 
  998. Send email to:  rlwalsh@packet.net 
  999.  
  1000.  BMT Micro  - $18 (US) 
  1001.  
  1002. Phone:         8:00am - 7:00pm EST (-5 GMT) 
  1003.                (800) 414-4268 (Orders only) 
  1004.                (910) 791-7052 (Orders / Order Inquires) 
  1005.  
  1006. Fax:           (800) 346-1672 24 hours, 7 days a week 
  1007.                (910) 350-2937 24 hours, 7 days a week 
  1008.  
  1009. BBS:           (910) 350-8061 10 lines, all 14.4K 
  1010.                (910) 799-0923 28.8k v.FC 
  1011.  
  1012. Internet:      bmt@wilmington.net 
  1013.  
  1014. Compuserve:    Thomas Bradford, 74031,307 
  1015.  
  1016. telnet:        bmt.wilmington.net 
  1017.  
  1018. BMT Micro accepts Visa, Mastercard, Discover, American Express, Diner's Club, 
  1019. money order, cashiers checks, and personal checks. They also accept DM and 
  1020. British currency via registered mail. Personal checks are subject to clearance. 
  1021.  
  1022. BMT Micro accepts purchase orders from educational institutions, governmental 
  1023. agencies and other verifiable businesses.  Terms are "Due Upon Receipt" with a 
  1024. $250 minimum. 
  1025.  
  1026. Entering your registration number 
  1027. Product Information 
  1028. License Agreement 
  1029. Options Notebook 
  1030.  
  1031.  
  1032. ΓòÉΓòÉΓòÉ 4.2. License Agreement ΓòÉΓòÉΓòÉ
  1033.  
  1034. DragText, its executables and documentation, is the copyrighted property of 
  1035. Richard L. Walsh. It is licensed, not given, to you for your personal use. 
  1036. Selected features require the payment of a registration fee for continued use. 
  1037.  
  1038. You may copy and freely redistribute DragText to others, provided: 
  1039.  
  1040.    - the recipient agrees to the terms of this license, 
  1041.    - you transfer DragText as a whole and intact, 
  1042.    - there is no cost to the recipient other than the costs of providing media 
  1043.      and transmission, and 
  1044.    - it is not redistributed in conjunction with any software that may not also 
  1045.      be freely redistributed by the recipient. 
  1046.  
  1047. You may not modify DragText in any way nor may you reverse assemble, reverse 
  1048. compile, or otherwise translate or reverse engineer its executable code or 
  1049. data. You may make additions to the documentation, including translations into 
  1050. other languages, provided these are contained in files separate from the 
  1051. originals and are identified as addenda to the accompanying original 
  1052. documentation. 
  1053.  
  1054. DragText is not warranted to be free of defects nor to be suitable for any 
  1055. particular purpose the licensee may put it to. The licensee agrees to use 
  1056. DragText at his or her own risk, and agrees to accept all liabilities arising 
  1057. from its use, including all claims by third parties, without recourse to the 
  1058. author or copyright holder. 
  1059.  
  1060. THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, OF ANY SORT. BY YOUR USE OF THE 
  1061. PROGRAM YOU AGREE TO THE TERMS OF THIS LICENSE. 
  1062.  
  1063. Product Information 
  1064. Registering DragText 
  1065. Options Notebook